package com.gewu.advertisement.core.model

import com.fasterxml.jackson.annotation.JsonProperty

/**
 * @author htt 2021/1/7
 */
data class PlayControl(
    @JsonProperty("ctrlType")
    val type: PlayControlType,
    @JsonProperty("ctrlData")
    val data: Int? = null  // type = PlayControlTYpe.VOLUME 时  表示音量大小
)

enum class PlayControlType {
    PAUSE,
    START,
    RESTART,
    STOP,
    VOLUME
}